package com.mingke.chat.server;

import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @author mingke
 * @function 会话服务器触发器
 * @date 2021/12/14
 */
@Component
public class ChatServerRunner implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        ChatServer chatServer = new ChatServer();
        chatServer.doServer();
    }
}
